﻿<%@ Page Title="" Language="C#" MasterPageFile="~/adminpanel.master" AutoEventWireup="true" CodeFile="SupplierForm.aspx.cs" Inherits="SupplierForm" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
    <style type="text/css">
        .style1
        {
            height: 67px;
        }
        .style3
        {
            width: 99px;
        }
        .style4
        {
            width: 333px;
            font-weight: 700;
        }
        .style5
        {
            width: 396px;
            font-weight: 700;
        }
    .style6
    {
        font-size: medium;
    }
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <div>
    
        <table class="style1">
            <tr>
                <td class="style3">
                    &nbsp;</td>
                <td class="style6" colspan="2">
                    <strong>Add New Supplier</strong></td>
                <td class="style34">
                   
                    &nbsp;</td>
                <td class="style5">
                    &nbsp;</td>
                <td class="style75">
                    &nbsp;</td>
                <td class="style36">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style3">
                    &nbsp;</td>
                <td class="style6" colspan="2">
                    &nbsp;</td>
                <td class="style34">
                   
                    &nbsp;</td>
                <td class="style5">
                    &nbsp;</td>
                <td class="style75">
                    &nbsp;</td>
                <td class="style36">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style3">
                    &nbsp;</td>
                <td class="style4">
                    <asp:Label ID="Label2" runat="server" Text="Supplier ID " Width="140px"></asp:Label>
                </td>
                <td>
                   
                    <asp:TextBox ID="SID" runat="server" Width="200px" style="margin-left: 2px" 
                        BackColor="#CED4DF"></asp:TextBox>
                    <br />
                    <br />
                </td>
                <td class="style34">
                   
                    &nbsp;
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ErrorMessage="Please Enter Supplier Id" ForeColor="Red" 
                        ControlToValidate="SID" Width="100px"></asp:RequiredFieldValidator>
                </td>
                <td class="style5">
                    &nbsp;<asp:Label ID="Label3" runat="server" Text="Telephone No" Width="100px"></asp:Label>
                </td>
                <td class="style75">
                   
                    <asp:TextBox ID="TextBoxMob" runat="server" Height="20px" Width="200px" 
                        ontextchanged="TextBoxMob_TextChanged" BackColor="#CED4DF"></asp:TextBox>
                    <br />
                    <br />
                </td>
                <td class="style36">
                   
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" 
                        ErrorMessage="Please enter a Valid Mobile No" ForeColor="Red" 
                        ControlToValidate="TextBoxMob" style="text-align: left" Width="100px"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style3">
                    &nbsp;</td>
                <td class="style4">
                    Supplier&nbsp; Name
                </td>
                <td>
                   
                    <asp:TextBox ID="TextBoxSName" runat="server" Width="200px" ForeColor="Black" 
                        BackColor="#CED4DF" style="margin-top: 0px"></asp:TextBox>
                    <br />
                    <br />
                </td>
                <td class="style34">
                   
                    &nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ErrorMessage="Please Enter Supplier Name" ForeColor="Red" 
                        ControlToValidate="TextBoxSName"></asp:RequiredFieldValidator>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                   
                    </td>
                <td class="style5">
                    Mobile No</td>
                <td class="style75">
                   
                    <br />
                    <asp:TextBox ID="TextBoxTel" runat="server" Height="20px" Width="200px" 
                        BackColor="#CED4DF"></asp:TextBox>
                    <br />
                </td>
                <td class="style36">
                   
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" 
                        ErrorMessage="Please Enter a Valid Tele No" ForeColor="Red" 
                        ControlToValidate="TextBoxTel" style="text-align: left"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style3">
                    &nbsp;</td>
                <td class="style4">
                    Supplier Address </td>
                <td>
                    
                    <asp:TextBox ID="TextBoxSAddress" runat="server" style="margin-left: 1px" 
                        Width="200px" BackColor="#CED4DF"></asp:TextBox>
                    <br />
                    <br />
                </td>
                <td class="style34">
                    
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                        ErrorMessage="Please Enter Supplier Adderess" ForeColor="Red" 
                        ControlToValidate="TextBoxSAddress"></asp:RequiredFieldValidator>
                </td>
                <td class="style5">
                    Fax No 
                </td>
                <td class="style75">
                    <br />
                    <asp:TextBox ID="TextBoxWeb" runat="server" Height="20px" Width="200px" 
                        BackColor="#CED4DF"></asp:TextBox>
                    <br />
                </td>
                <td class="style36">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" 
                        ErrorMessage="Please Enter a Valid Fax No" ForeColor="Red" 
                        ControlToValidate="TextBoxFax"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style3">
                    &nbsp;</td>
                <td class="style4">
                    Supplier City</td>
                <td>
                    
                    <asp:TextBox ID="TextBoxTimeP" runat="server" style="margin-left: 1px" 
                        Width="200px" BackColor="#CED4DF"></asp:TextBox>
                    <br />
                    <br />
                </td>
                <td class="style34">
                    
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                        ErrorMessage="Please Enter Supplier City" ForeColor="Red" 
                        ControlToValidate="TextBoxTimeP" style="text-align: left"></asp:RequiredFieldValidator>
                    &nbsp;
                </td>
                <td class="style5">
                    E-mail Address<br />
                </td>
                <td class="style75">
                    <asp:TextBox ID="TextBoxFax" runat="server" Height="20px" Width="200px" 
                        BackColor="#CED4DF" style="margin-bottom: 0px"></asp:TextBox>
                    <br />
                    <br />
                </td>
                <td class="style36">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" 
                        ErrorMessage="Please Enter a Valid Email" ForeColor="Red" 
                        ControlToValidate="TextBoxEmail" style="text-align: left"></asp:RequiredFieldValidator>
                    <br />
                </td>
            </tr>
            <tr>
                <td class="style3">
                    &nbsp;</td>
                <td class="style4">
                    Contact Person Name</td>
                <td>
                    
                    <asp:TextBox ID="TextBoxCPerson" runat="server" Height="20px" Width="200px" 
                        BackColor="#CED4DF"></asp:TextBox>
                </td>
                <td class="style34">
                    
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                        ErrorMessage="Please Enter Contact Person Name" ForeColor="Red" 
                        ControlToValidate="TextBoxCPerson" style="text-align: left" Width="100px"></asp:RequiredFieldValidator>
                </td>
                <td class="style5">
                    Web&nbsp; Address</td>
                <td class="style75">
                    <asp:TextBox ID="TextBoxEmail" runat="server" Height="20px" Width="200px" 
                        BackColor="#CED4DF"></asp:TextBox>
                </td>
                <td class="style36">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" 
                        ErrorMessage="Please Enter a valid Web Eddress" ForeColor="Red" 
                        ControlToValidate="TextBoxWeb" style="text-align: left"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style3">
                    &nbsp;</td>
                <td class="style4">
                    &nbsp;</td>
                <td>
                    
                    &nbsp;</td>
                <td class="style34">
                    
                    &nbsp;</td>
                <td class="style5">
                    &nbsp;</td>
                <td class="style75">
                    &nbsp;</td>
                <td class="style36">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style3">
                    &nbsp;</td>
                <td class="style4">
                    &nbsp;</td>
                <td>
                    
                    <asp:Button ID="Button1" runat="server" BackColor="#CED4DF" 
                        Text="Add Supplier" />
                </td>
                <td class="style34">
                    
                    <asp:Button ID="Button2" runat="server" BackColor="#CED4DF" Text="Cancel" />
                </td>
                <td class="style5">
                    &nbsp;</td>
                <td class="style75">
                    &nbsp;</td>
                <td class="style36">
                    &nbsp;</td>
            </tr>
            </table>
    
    </div>
</asp:Content>

